<?php
namespace app\common\model\mysql;
use think\Model;
class User extends Model
{
     public function getUserInfo($id){
         $data=$this->where('id',$id)->find();
         return $data;
     }
}